package work.sajor.wechatpush;

import com.alibaba.nacos.spring.context.annotation.config.NacosPropertySource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.concurrent.TimeUnit;

@SpringBootApplication
@EnableScheduling
@NacosPropertySource(dataId = "wechat-push", autoRefreshed = true)
public class WechatPushApplication {

    public static void main(String[] args) {
        SpringApplication.run(WechatPushApplication.class, args);
    }

}
